﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;

/// <summary>
/// Summary description for MyConnection
/// </summary>
public class MyConnection
{
    public static SqlConnection get()
    {
        string conString = ConfigurationManager.ConnectionStrings["softmarketConnectionString"].ConnectionString;
        SqlConnection connection = new SqlConnection(conString);
        connection.Open();
        return connection;
    }
}